#ifndef _PWM_H_
#define _PWM_H_

#define MOTOR_LOW_POWER 0
#define MOTOR_FORWARD 1
#define MOTOR_BACKWARD 2
#define MOTOR_BRAKE 3
#define BUTTON_UP 1
#define BUTTON_DOWN 2
#define BUTTON_NULL 0
void brushed_motor_control(uint8_t control);
uint8_t brushed_motor_button(void);
void brushed_motor_gpio_init(void);
void motor_control_task(void *arg);
#endif
